#
# Be sure to run `pod lib lint ModuleManager.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'ModuleManager'
  s.version          = '0.1.10'
  s.summary          = 'A short description of ModuleManager.'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
TODO: Add long description of the pod here.
                       DESC

  s.homepage         = 'https://gitee.com/fsfd/module-manager'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'GHQxhypp' => '820003039@qq.com' }
  s.source           = { :git => 'https://gitee.com/fsfd/module-manager.git', :tag => s.version.to_s }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.ios.deployment_target = '9.0'
  s.pod_target_xcconfig = {
      'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64'
    }
  s.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }


  # 可有可无 默认framework
#  s.default_subspec = 'framework'
  

  s.subspec 'source' do |ss|
     ss.source_files = 'ModuleManager/Classes/*.{h,m}'
     ss.subspec 'CTMediator' do |sss|
       sss.source_files = 'ModuleManager/Classes/CTMediator/*.{h,m}'
     end
   end
  
  s.subspec 'framework' do |ss|
    ss.ios.vendored_framework = 'ModuleManager/FrameWorks/*.framework'
  end



end
